package cdu.javaendwork.model.sqlModel;

import java.util.Date;

public class Request {
    private int id;
    private int host_user_id;
    private int userid;
    private int postid;
    private int status;
    private Date date;

    public Request() {
    }

    public Request(int id, int host_user_id, int userid, int postid, int status, Date date) {
        this.id = id;
        this.host_user_id = host_user_id;
        this.userid = userid;
        this.postid = postid;
        this.status = status;
        this.date = date;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getHost_user_id() {
        return host_user_id;
    }

    public void setHost_user_id(int host_user_id) {
        this.host_user_id = host_user_id;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public int getPostid() {
        return postid;
    }

    public void setPostid(int postid) {
        this.postid = postid;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "Request{" +
                "id=" + id +
                ", host_user_id=" + host_user_id +
                ", userid=" + userid +
                ", postid=" + postid +
                ", status=" + status +
                ", date=" + date +
                '}';
    }
}
